package gameAppLayer.gui;

import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.screen.ScreenController;
import eventManager.IEventData;
import eventManager.IEventListener;

public class CGUIMainMenu implements ScreenController {

	private Nifty nifty;
	
	public void bind(Nifty nifty, Screen screen) {
		this.nifty = nifty;
		
	}

	public void onEndScreen() {
		//nifty.gotoScreen(EGUIStates.MAIN_MENU.toString());		
	}

	public void onStartScreen() {		
		
	}
	
	public void newGame() {
		
		nifty.gotoScreen(EGUIStates.UNIVERSE_SETUP.toString());
	}
	
	public void loadGame() {
		nifty.gotoScreen(EGUIStates.LOAD_GAME.toString());
	}
	
	public void options() {
		nifty.gotoScreen(EGUIStates.OPTIONS.toString());
	}
	
	public void tutorials() {
		nifty.gotoScreen(EGUIStates.TUTORIAL.toString());
	}
	
	public void mods() {
		nifty.gotoScreen(EGUIStates.MODS.toString());
	}
	
	public void about() {
		nifty.gotoScreen(EGUIStates.ABOUT.toString());
	}
	
	public void exit() {
		nifty.exit();
	}

}
